﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Square: Shape
    {
        private double sideLen;

        public double SideLen { get => sideLen; set => sideLen = value; }
        public override void GetArea(double sideLen)
        {

            double sum = 0;
            sum = sideLen * sideLen;
            Console.WriteLine(sum);

        }
    }
}
